<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>	
	
<!-- ******************** Localization ******************** -->
<bean:define id="student"><bean:message key="instructor.task.unchecked.student"/></bean:define>
<bean:define id="task"><bean:message key="instructor.task.unchecked.task"/></bean:define>
<bean:define id="mark"><bean:message key="instructor.task.unchecked.mark"/></bean:define>
<bean:define id="view"><bean:message key="instructor.task.unchecked.view"/></bean:define>
<bean:define id="no_items_found"><bean:message key="instructor.task.unchecked.no_items"/></bean:define>

<!-- ******************** Page content ******************** -->	
<div id="content" align="center" >
	<display:table id="data" name="sessionScope.taskForm.uncheckedTaskList" 
		requestURI="/instructor/task.do" pagesize="50" 
		decorator="by.bsu.scs.presentation.tabledecorator.UncheckedTaskDecorator">
		
		<display:column property="studentName" title="<%=student%>" />
		<display:column property="taskDiscriptionLink" title="<%=task%>" sortable="true" />
		<display:column property="viewLink" title="<%=view%>" style="text-align: center;" />
		<display:column property="markLink" title="<%=mark%>" style="text-align: center;" />
		
		<!-- ******************** View configuration ******************** -->	
		<display:setProperty name="paging.banner.placement" value="bottom" />
		<display:setProperty name="paging.banner.no_items_found" value="<%=no_items_found%>" />
		<display:setProperty name="paging.banner.one_item_found" value="" />
		<display:setProperty name="paging.banner.all_items_found" value="" />
		<display:setProperty name="paging.banner.some_items_found" value="" />
		<display:setProperty name="paging.banner.page.selected" value="" />
		
		<display:setProperty name="css.tr.even" value="mpolicy_tr_even" />
		<display:setProperty name="css.tr.odd" value="mpolicy_tr_odd" />
		
	</display:table>
</div>